package com.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xyw
 * @since 2023-08-10
 */
@Getter
@Setter
@TableName("tb_area")
public class TbArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "code", type = IdType.AUTO)
    private Integer code;

    private String name;

    private String level;

    /**
     * 所属行政区划代码
     */
    private Integer pcode;

    /**
     * 所属行政区划名字
     */
    private String pname;

    /**
     * 行政区划完整名字
     */
    private String fullname;

    private Object longitude;

    private Object latitude;
}
